package com.udima.reglocation.entities;

public class User {

    private String id;
    private String userName;
    private String password;
    private String firstName;
    private String lastName;
    private VehicleType vehicleType;
    private long fetchGpsLapseTime;

    private boolean connected;
    private boolean serviceRunning;
    private String lastConnection; //last time the user talks to the server

    public User() {
    }

    public String getId() {
	return id;
    }

    public void setId(String id) {
	this.id = id;
    }

    public String getUserName() {
	return userName;
    }

    public void setUserName(String userName) {
	this.userName = userName;
    }

    public String getPassword() {
	return password;
    }

    public void setPassword(String password) {
	this.password = password;
    }

    public String getFirstName() {
	return firstName;
    }

    public void setFirstName(String firstName) {
	this.firstName = firstName;
    }

    public String getLastName() {
	return lastName;
    }

    public void setLastName(String lastName) {
	this.lastName = lastName;
    }

    public VehicleType getVehicleType() {
	return vehicleType;
    }

    public void setVehicleType(VehicleType vehicleType) {
	this.vehicleType = vehicleType;
    }

    public boolean isConnected() {
	return connected;
    }

    public void setConnected(boolean connected) {
	this.connected = connected;
    }

    public boolean isServiceRunning() {
	return serviceRunning;
    }

    public void setServiceRunning(boolean serviceRunning) {
	this.serviceRunning = serviceRunning;
    }

    public String getLastConnection() {
	return lastConnection;
    }

    public void setLastConnection(String lastConnection) {
	this.lastConnection = lastConnection;
    }

    public long getFetchGpsLapseTime() {
	return fetchGpsLapseTime;
    }

    public void setFetchGpsLapseTime(long fetchGpsLapseTime) {
	this.fetchGpsLapseTime = fetchGpsLapseTime;
    }

}